package com.scenic.userservice.mapper;

import com.scenic.common.bean.Addr;

import java.util.List;

public interface AddrMapper {
    //添加
    int insert(Addr addr);
    //根据id删除
    int delete(Integer id);
    //修改
    int update(Addr addr);
    //根据条件查询
    List<Addr> selectByCondition(Addr condition);
    //根据id查询
    Addr selectById(Integer id);
}
